package cn.ad.entity;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;

/**
 * 创意
 * 
 * @author alleywind
 */
@Alias("creative")
public class Creative extends PO implements Serializable {

	/**
	 * 创意表
	 */
	private static final long serialVersionUID = -999056029104444709L;
	/**
	 * 所属订单ID， 对应campaign.id，当创意微系统缺省默认创意时，值为0.
	 */
	private Integer campaignId;
	/**
	 * 创意名称
	 */
	private String name;
	/**
	 * 创意描述
	 */
	private String description;
	/**
	 * 广告形式标识，对应ad_format.id
	 */
	private Integer adFormat;

	/**
	 * 创意状态 -1 删除 0. 初始化 1.有效 默认值为1
	 */
	private Integer status;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 更新时间
	 */
	private Date updateTime;
	/**
	 * 第三方展示监测,多个以"|||"分割
	 */
	private String impressionTracking;
	/**
	 * 第三方点击监测,多个以"|||"分割
	 */
	private String clicksTracking;
	/**
	 * 交互方式 0 无交互 1 跳转 2 APP下载
	 */
	private Integer interactionType;

	/**
	 * 交互实现标识，对应具体交互类型实现表中的标识。 
	 * 当interaction_type = 1时， 对应interaction_redirects.id 
	 * 当interaction_type = 2时， 对应interaction_app.id
	 */
	private Integer interactionId;

	public Integer getCampaignId() {
		return campaignId;
	}

	public void setCampaignId(Integer campaignId) {
		this.campaignId = campaignId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getAdFormat() {
		return adFormat;
	}

	public void setAdFormat(Integer adFormat) {
		this.adFormat = adFormat;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getImpressionTracking() {
		return impressionTracking;
	}

	public void setImpressionTracking(String impressionTracking) {
		this.impressionTracking = impressionTracking;
	}

	public String getClicksTracking() {
		return clicksTracking;
	}

	public void setClicksTracking(String clicksTracking) {
		this.clicksTracking = clicksTracking;
	}

	public Integer getInteractionType() {
		return interactionType;
	}

	public void setInteractionType(Integer interactionType) {
		this.interactionType = interactionType;
	}

	public Integer getInteractionId() {
		return interactionId;
	}

	public void setInteractionId(Integer interactionId) {
		this.interactionId = interactionId;
	}

}
